/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aaron.platform.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author mac
 */
public class ItscPriInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String privilegeName;

    private String privilegeDisname;
    
    private String privilegeDesc;
   
    private List<ItscPriExt> itscPriExtList;

    public ItscPriInfo(String priName) {
        privilegeName = priName;
    }

    public String getPrivilegeName() {
        return privilegeName;
    }

    public String getPrivilegeDisname() {
        return privilegeDisname;
    }

    public void setPrivilegeDisname(String privilegeDisname) {
        this.privilegeDisname = privilegeDisname;
    }

     public String getPrivilegeDesc() {
        return privilegeDesc;
    }

    public void setPrivilegeDesc(String privilegeDesc) {
        this.privilegeDesc = privilegeDesc;
    }

    public List<ItscPriExt> getItscPriExtList() {
        return itscPriExtList;
    }

    public void setItscPriExtList(List<ItscPriExt> itscPriExtList) {
        this.itscPriExtList = itscPriExtList;
    }

    public void addPriExt(ItscPriExt ext) {
        if (itscPriExtList == null) {
            itscPriExtList = new ArrayList<ItscPriExt>();
        }
        itscPriExtList.add(ext);
    }

}
